﻿@model OnlineBookstore.Models.CapitalAdvance

@{
	Layout = null;
}


<head>
	<meta charset="utf-8" />
	<title>后台管理</title>
	<link rel="stylesheet" href="~/conjs/global.css" />
	<link href="~/conjs/cityLayout.css" type="text/css" rel="stylesheet">
	<link rel="stylesheet" href="~/conjs/Site.css" />
	<style>
		.box {
			margin: 60px 25%;
		}
	</style>
</head>
<body>


	<div id="all">
		<!--页眉-->
		<!--未登录-->
		<div id="header">
			<div id="logo"><span id="logotxt">广软智慧书城</span></div>
			<div id="loginmsg">

				@Html.ActionLink("退出", "Index", "ShopInfo")
			</div>

			<div style="clear:both;"></div>
		</div>
		<div id="menu">
			<ul>

				<div style="clear:both;"></div>
			</ul>
		</div>

		<div id="content" style=" width:1000px">
			<!--页面内容部分-->

			<div style="margin:10px 25%">
				@using (Html.BeginForm())
				{
					@Html.AntiForgeryToken()

					<div class="form-horizontal">
						<h4>账户修改</h4>
						<hr />
						@Html.ValidationSummary(true, "", new { @class = "text-danger" })
						@Html.HiddenFor(model => model.Id)

						<div class="form-group">
							<p>客户id</p>
							<div class="col-md-10">
								@Html.EditorFor(model => model.ShopId, new { htmlAttributes = new { @class = "form-control" } })
								@Html.ValidationMessageFor(model => model.ShopId, "", new { @class = "text-danger" })
							</div>
						</div>

						<div class="form-group">
							<p>余额</p>
							<div class="col-md-10">
								@Html.EditorFor(model => model.Balance, new { htmlAttributes = new { @class = "form-control" } })
								@Html.ValidationMessageFor(model => model.Balance, "", new { @class = "text-danger" })
							</div>
						</div>

						<div class="form-group">
							<p>累积充值金额</p>
							<div class="col-md-10">
								@Html.EditorFor(model => model.ReChargeAmount, new { htmlAttributes = new { @class = "form-control" }  })
								@Html.ValidationMessageFor(model => model.ReChargeAmount, "", new { @class = "text-danger" })
							</div>
						</div>

						<div class="form-group">
							<div class="col-md-offset-2 col-md-10">
								<input type="submit" value="修改" class="btn btn-default" />
							</div>
						</div>
					</div>
				}

			</div>
			<div>
				@Html.ActionLink("返回", "Index")
			</div>
			<!--页脚-->
            <div id="footer">
                <hr style="margin:20px 0px;" />广软智慧书城---MVC
            </div>
		</div>
	</div>



	<script type="text/javascript" src="~/conjs/bootstrap.js"></script>
	<script type="text/javascript" src="~/conjs/jquery-3.3.1.js"></script>
	<script type="text/javascript" src="~/conjs/jquery-3.4.1.js"></script>
</body>